package com.bootdo.staticmask.core.bean;

import com.bootdo.staticmask.domain.MaskRuleDO;

/**
 * @author L
 * 列名及列属性
 */

public class ColumnProperty {
    private int id;
    private String columnName;
    private String columnDataType;
    private String columnComment;
    private String columnConstraint;
    private MaskRuleDO maskRuleDO;

    @Override
    public String toString() {
        return "ColumnProperty{" +
                "id=" + id +
                ", columnName='" + columnName + '\'' +
                ", columnDataType='" + columnDataType + '\'' +
                ", columnComment='" + columnComment + '\'' +
                ", columnConstraint='" + columnConstraint + '\'' +
                ", maskRuleDO=" + maskRuleDO +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getColumnDataType() {
        return columnDataType;
    }

    public void setColumnDataType(String columnDataType) {
        this.columnDataType = columnDataType;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public String getColumnConstraint() {
        return columnConstraint;
    }

    public void setColumnConstraint(String columnConstraint) {
        this.columnConstraint = columnConstraint;
    }

    public MaskRuleDO getMaskRuleDO() {
        return maskRuleDO;
    }

    public void setMaskRuleDO(MaskRuleDO maskRuleDO) {
        this.maskRuleDO = maskRuleDO;
    }
}
